import request from '@/utils/request'
/**
 * 登录功能
 * @param {*} data
 */
export function login(data) {
  return request({
    url: '/sys/login',
    method: 'post',
    data
  })
}
export function getInfoProfile() {
  return request({
    url: '/sys/profile',
    method: 'post'

  })
}
export function getUserByIdDetail(id) {
  return request({
    url: `/sys/user/${id}`,
    method: 'get'

  })
}
export function logout() {
}
